package cn.tansanqinger.service.announcement;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Service;

import cn.tansanqinger.pojo.Announcement;
import cn.tansanqinger.util.PageData;

@Service
public interface IAnnouncementService {

	//查询一组数据
	public List<Announcement> selectAnnouncement(HttpServletRequest request);
	
	//查询还未查看的数据
	public int selectAnnouncementCount(HttpServletRequest request);
	
	//查询全部数据
	public int announcementCount(HttpServletRequest request);
	
	//查询单一信息
	public Announcement selectAnnouncementOne(HttpServletRequest request);
	
	//删除数据
	public PageData delete(HttpServletRequest request);
}
